What are x and y the components of the vector obtained when we add vector A, with magnitude 15.4 and angle 350.1 degrees, to the vector B whose angle and magnitude are 340.3 degrees and 9.400001?
The x and y components of A are easily found to be 15.4 cos( 350.1 deg) = 15.17 and 15.4 sin( 350.1 deg) = -2.65.
The x and y components of B are found in the same manner to be 8.84 and -3.17.
The x component of the resultant is simply the sum 15.17 + 8.84 = 24.01 of the x components of A and B.
The y component is similarly the sum -2.65 + -3.17 = -5.82 of the y components of A and B.
The magnitude of the resultant vector, by the Pythagorean Theorem, is therefore
The angle of the resultant vector to the x axis is found from the inverse tangent
The final step depends on whether the x component 24.01 is greater or less than zero:
- The vector is in quadrant 2 or 3 and the correct angle is therefore (-13.63 + 180) degrees = 166.37 degrees.
- Since the x component of this vector is positive, this is the correct angle.
If we have vectors A and B, at angles `theta1 and `theta2 as measured from the direction of the positive x axis, their sum is found by first finding the x and y component of each (multiplying the magnitude of each vector by the cosine of its angle to obtain its x component, and multiplying the magnitude of each vector by the sine of its angle to obtain its y component).
The sum of the two x components will then be the x component of the resultant, and the sum of the two y components will be the y component of the resultant.
We obtain
Ax = | A | cos(`theta1),
Ay = | A | sin(`theta1),
Bx = | B | cos(`theta2),
By = | B | sin(`theta2).
We obtain the resultant vector R = A + B by first adding the x components of A and B:
Rx = Ax + Bx = | A | cos(`theta1) + | B | cos(`theta2)
and
Ry = Ay + By = | A | sin(`theta1) + | B | sin(`theta2).
We then find the magnitude and angle of R, using the Pythagorean Theorem and the tan-1gent:
|R| = `sqrt(Rx^2 + Ry^2)
and
`theta = tan-1(Ry / Rx).
The figure below shows two vectors A and B, and their components Ax, Ay, Bx and By.
"